import request from '../request'

// 空调实时监测
export function airConditionerRealtimeMonitoring(data) {
    return request({
        url: '/api/airConditionerRealtimeMonitoring',
        method: 'get',
        data
    })
}
// 温湿度实时曲线图
export function temperatureHumidity(data) {
    return request({
        url: '/api/temperature-humidity',
        method: 'get',
        data
    })
}

// 设备状态
export function deviceStatus(data) {
    return request({
        url: '/api/device/status',
        method: 'get',
        data
    })
}

// 告警列表接口
export function alarmList(data) {
    return request({
        url: '/api/alarm/list',
        method: 'get',
        data
    })
}

// 告警信息数量接口
export function warnings(data) {
    return request({
        url: '/api/warnings',
        method: 'get',
        data
    })
}

// ups电源
export function UPSPowerSupply(data) {
    return request({
        url: '/api/UPSPowerSupply',
        method: 'get',
        data
    })
}

// 设备
export function AlarmInformationDevice(data) {
    return request({
        url: '/api/AlarmInformationDevice',
        method: 'get',
        data
    })
}

// 安全运行天数
export function safeOperatingDays(data) {
    return request({
        url: '/api/safeOperatingDays',
        method: 'get',
        data
    })
}

// 机房设备
export function machineRoomEquipment(data) {
    return request({
        url: '/api/machineRoomEquipment',
        method: 'get',
        data
    })
}
